package user

import (
	"amin-ease/internal/handler"
	"github.com/gin-gonic/gin"
)

func UserRouter(group *gin.RouterGroup) {
	userHandler := handler.NewUserHandler()
	group.POST("/register", userHandler.Register)
	group.GET("/list", userHandler.UserList)
	group.GET("/users", userHandler.FindUsers)
	group.POST("/add", userHandler.Add)
}
